package com.sc.pojo;


import java.util.Date;

public class Emails {
    private Integer id;
    private String fromName;
    private String title;
    private String content;
    private Integer state;
    private String toName;
    private Date createDate;

    public Emails(String fromName, String title, String content, String toName) {
        this.fromName = fromName;
        this.title = title;
        this.content = content;
        this.toName = toName;
    }

    public Emails(Integer id, String fromName, String title, String content, Integer state, String toName, Date createDate) {
        this.id = id;
        this.fromName = fromName;
        this.title = title;
        this.content = content;
        this.state = state;
        this.toName = toName;
        this.createDate = createDate;
    }

    public Emails(String title, String content, String toName, Date createDate) {
        this.title = title;
        this.content = content;
        this.toName = toName;
        this.createDate = createDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
